﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WorldSimulator.PhysicsEngine
{
	/// <summary>
	/// Physical object that has a Location in 3D Space, a Mass and an Velocity
	/// </summary>
	public interface IPhysicalObject : INamedObject
	{
		/// <summary>
		/// The object's mass in kg
		/// </summary>
		double Mass { get; }

		/// <summary>
		/// The object's inertia in meters per second
		/// </summary>
		MyVector3D Velocity { get; set; }

		/// <summary>
		/// The object's mass center's offset from the 3D-coordinate-system's center in meters
		/// </summary>
		MyVector3D Location { get; set; }

		/// <summary>
		/// The object's radius
		/// </summary>
		double Radius { get; }
	}
}
